package com.dmall.opening.up.core;

import java.util.Optional;

public interface OrderRepository {

    Order create(Request<String, Object> request);

    Optional<Order> findOne(Long id);

    Page<Order> paging(Criteria criteria);
}
